//
// Created by 25429 on 2020/7/9.
//

#include "task_limit_up_first_buy_sz.h"

void task_limit_up_first_buy_sz::init() {
    strategy_task::init();

    m_phase = WAIT_CONDITION;
    util::Singleton<my_log>::Instance()->add_log(m_log_title
                                                 + "new task "
                                                 + to_string(m_target_volume));
}

inline void task_limit_up_first_buy_sz::on_md_l2_mkt(const SiriusMDRspMarketField &mkt) {
    m_last_mkt = mkt;

}